package com.ryandj.service.impl;

import com.ryandj.mapper.UserMapper;
import com.ryandj.pojo.User;
import com.ryandj.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by wdj on 2024/6/6
 */

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User getUserByLoginName(String loginName) {
        return userMapper.getUserByLoginName(loginName);
    }
}
